package com.shop.service;

import java.util.ArrayList;

import com.shop.bean.Address;
import com.shop.bean.Orders;
import com.shop.bean.User;

public interface OrdersService {
	
	public User selectByUname(String uname);

	public Address selectBuUid(Integer uid);
	public int addOrders(Orders orders);

	public ArrayList<Orders> selectAll(String name);

	public int deleteOrders(Integer integer);

	public int updateState(Integer gid);

	public ArrayList<Orders> selectAllByState(Integer uid);

	public ArrayList<Orders> queryOrdersBySname(String name);

	public int updateStateSeller(Integer gid);
}
